<?php

namespace app\admin\model;

use think\Model;

/*
 * 顾问
 */
class Consultant extends Model
{
    /*
     * 城市
     */
    public function webcity()
    {
        return $this->belongsTo('Webcity', 'webcity_id', 'id')
            ->field('id, city');
    }

}